package com.xxl.sso.server.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * @ClassName LoginConfig
 * @Description 登录页面登录方式配置初始化
 * @Author wangke
 * @Date 2021/8/17 20:02
 */
@Configuration
public class LoginConfig {

    @Value("${login.accountSecret:true}")
    private Boolean accountSecret;

    @Value("${login.dingDing:false}")
    private Boolean dingDing;

    public Boolean getAccountSecret() {
        return accountSecret;
    }

    public Boolean getDingDing() {
        return dingDing;
    }
}
